//
//  RanPagerHeaderModel.h
//  ThusMyStyle
//
//  Created by Ran on 15/9/30.
//  Copyright (c) 2015年 gintong. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, RanPagerHeaderBottomLineStyle){
    RanPagerHeaderBottomLineStyleWithinText,/**<限定在文字范围之内, 默认*/
    RanPagerHeaderBottomLineStyleThroughX /**<限定在控件范围之内*/
};

typedef NS_ENUM(NSInteger, RanPagerHeaderButtonStyle){
    RanPagerHeaderButtonStyleTextWidthAndPadding, /**<按钮宽度为文字宽度+间距, 默认*/
    RanPagerHeaderButtonStyleConstantWidth /**<按钮宽度都一样,为固定值*/
};

@interface RanPagerHeaderModel : NSObject

@property(nonatomic, strong)UIColor *headerContainerColor;/**<头部容器背景色*/

//头部标题
@property(nonatomic, strong)NSArray *titleArray;
@property(nonatomic, strong)UIColor *normalStateColor;
@property(nonatomic, strong)UIColor *selectedStateColor;
@property(nonatomic, assign)CGFloat normalStateFontSize;
@property(nonatomic, assign)CGFloat selectedStateFontSize;

//头部按钮
@property(nonatomic, assign)RanPagerHeaderButtonStyle headerButtonStyle;
@property(nonatomic, assign)CGFloat headerButtonWidth;
@property(nonatomic, assign)CGFloat headerButtonPadding;

//头部分割线
@property(nonatomic, assign)BOOL showSeperator;
@property(nonatomic, strong)UIColor *seperatorColor;
@property(nonatomic, assign)UIEdgeInsets seperatorInsets;/**<默认按钮分割线和按钮等高, 宽度为4*/

//头部下划线
@property(nonatomic, assign)BOOL showBottomLine;/**<是否显示跟随滑动的线*/
@property(nonatomic, assign)BOOL bottomLineMoveInRealTime;/**<是否随着内容视图的滑动实时更新底部条位置,如果置1,按钮颜色和文字也将随之渐变*/
@property(nonatomic, strong)UIColor *bottomLineColor;
@property(nonatomic, assign)CGFloat bottomLineHeight;
@property(nonatomic, assign)RanPagerHeaderBottomLineStyle *headerBottomLineStyle;

@end
